﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D07 RID: 3335
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerDisplaySettings : IMessage<PlayerDisplaySettings>, IMessage, IEquatable<PlayerDisplaySettings>, IDeepCloneable<PlayerDisplaySettings>, IBufferMessage
	{
		// Token: 0x17002A14 RID: 10772
		// (get) Token: 0x0600952F RID: 38191 RVA: 0x0018CEEF File Offset: 0x0018B0EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerDisplaySettings> Parser
		{
			get
			{
				return PlayerDisplaySettings._parser;
			}
		}

		// Token: 0x17002A15 RID: 10773
		// (get) Token: 0x06009530 RID: 38192 RVA: 0x0018CEF6 File Offset: 0x0018B0F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerDisplaySettingsReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A16 RID: 10774
		// (get) Token: 0x06009531 RID: 38193 RVA: 0x0018CF08 File Offset: 0x0018B108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerDisplaySettings.Descriptor;
			}
		}

		// Token: 0x06009532 RID: 38194 RVA: 0x0018CF0F File Offset: 0x0018B10F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerDisplaySettings()
		{
		}

		// Token: 0x06009533 RID: 38195 RVA: 0x0018CF24 File Offset: 0x0018B124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerDisplaySettings(PlayerDisplaySettings other) : this()
		{
			this.challengeList_ = other.challengeList_.Clone();
			this.ePIAILLKNCI_ = ((other.ePIAILLKNCI_ != null) ? other.ePIAILLKNCI_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009534 RID: 38196 RVA: 0x0018CF75 File Offset: 0x0018B175
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerDisplaySettings Clone()
		{
			return new PlayerDisplaySettings(this);
		}

		// Token: 0x17002A17 RID: 10775
		// (get) Token: 0x06009535 RID: 38197 RVA: 0x0018CF7D File Offset: 0x0018B17D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<GFIHCDPGHMA> ChallengeList
		{
			get
			{
				return this.challengeList_;
			}
		}

		// Token: 0x17002A18 RID: 10776
		// (get) Token: 0x06009536 RID: 38198 RVA: 0x0018CF85 File Offset: 0x0018B185
		// (set) Token: 0x06009537 RID: 38199 RVA: 0x0018CF8D File Offset: 0x0018B18D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AOBGKPKLNPO EPIAILLKNCI
		{
			get
			{
				return this.ePIAILLKNCI_;
			}
			set
			{
				this.ePIAILLKNCI_ = value;
			}
		}

		// Token: 0x06009538 RID: 38200 RVA: 0x0018CF96 File Offset: 0x0018B196
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerDisplaySettings);
		}

		// Token: 0x06009539 RID: 38201 RVA: 0x0018CFA4 File Offset: 0x0018B1A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerDisplaySettings other)
		{
			return other != null && (other == this || (this.challengeList_.Equals(other.challengeList_) && object.Equals(this.EPIAILLKNCI, other.EPIAILLKNCI) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600953A RID: 38202 RVA: 0x0018CFF8 File Offset: 0x0018B1F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.challengeList_.GetHashCode();
			if (this.ePIAILLKNCI_ != null)
			{
				num ^= this.EPIAILLKNCI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600953B RID: 38203 RVA: 0x0018D042 File Offset: 0x0018B242
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600953C RID: 38204 RVA: 0x0018D04A File Offset: 0x0018B24A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600953D RID: 38205 RVA: 0x0018D054 File Offset: 0x0018B254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ePIAILLKNCI_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.EPIAILLKNCI);
			}
			this.challengeList_.WriteTo(ref output, PlayerDisplaySettings._repeated_challengeList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600953E RID: 38206 RVA: 0x0018D0A4 File Offset: 0x0018B2A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.challengeList_.CalculateSize(PlayerDisplaySettings._repeated_challengeList_codec);
			if (this.ePIAILLKNCI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EPIAILLKNCI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600953F RID: 38207 RVA: 0x0018D0F8 File Offset: 0x0018B2F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerDisplaySettings other)
		{
			if (other == null)
			{
				return;
			}
			this.challengeList_.Add(other.challengeList_);
			if (other.ePIAILLKNCI_ != null)
			{
				if (this.ePIAILLKNCI_ == null)
				{
					this.EPIAILLKNCI = new AOBGKPKLNPO();
				}
				this.EPIAILLKNCI.MergeFrom(other.EPIAILLKNCI);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009540 RID: 38208 RVA: 0x0018D15D File Offset: 0x0018B35D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009541 RID: 38209 RVA: 0x0018D168 File Offset: 0x0018B368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 50U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.challengeList_.AddEntriesFrom(ref input, PlayerDisplaySettings._repeated_challengeList_codec);
					}
				}
				else
				{
					if (this.ePIAILLKNCI_ == null)
					{
						this.EPIAILLKNCI = new AOBGKPKLNPO();
					}
					input.ReadMessage(this.EPIAILLKNCI);
				}
			}
		}

		// Token: 0x0400391C RID: 14620
		private static readonly MessageParser<PlayerDisplaySettings> _parser = new MessageParser<PlayerDisplaySettings>(() => new PlayerDisplaySettings());

		// Token: 0x0400391D RID: 14621
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400391E RID: 14622
		public const int ChallengeListFieldNumber = 6;

		// Token: 0x0400391F RID: 14623
		private static readonly FieldCodec<GFIHCDPGHMA> _repeated_challengeList_codec = FieldCodec.ForMessage<GFIHCDPGHMA>(50U, GFIHCDPGHMA.Parser);

		// Token: 0x04003920 RID: 14624
		private readonly RepeatedField<GFIHCDPGHMA> challengeList_ = new RepeatedField<GFIHCDPGHMA>();

		// Token: 0x04003921 RID: 14625
		public const int EPIAILLKNCIFieldNumber = 5;

		// Token: 0x04003922 RID: 14626
		private AOBGKPKLNPO ePIAILLKNCI_;
	}
}
